<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::sfm::SFMLibmvEuclideanReconstruction Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../db/db0/namespacecv_1_1sfm.html">sfm</a></li><li class="navelem"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html">SFMLibmvEuclideanReconstruction</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="../../dd/d2c/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::sfm::SFMLibmvEuclideanReconstruction Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../d8/d8c/group__sfm.html">Structure From Motion</a> &raquo; <a class="el" href="../../d7/de2/group__simple__pipeline.html">Simple Pipeline</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html" title="SFMLibmvEuclideanReconstruction class provides an interface with the Libmv Structure From Motion pipe...">SFMLibmvEuclideanReconstruction</a> class provides an interface with the Libmv Structure From Motion pipeline.  
 <a href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#details">More...</a></p>

<p><code>#include &lt;opencv2/sfm/simple_pipeline.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::sfm::SFMLibmvEuclideanReconstruction:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.png" usemap="#cv::sfm::SFMLibmvEuclideanReconstruction_map" alt=""/>
  <map id="cv::sfm::SFMLibmvEuclideanReconstruction_map" name="cv::sfm::SFMLibmvEuclideanReconstruction_map">
<area href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html" title="base class BaseSFM declares a common API that would be used in a typical scene reconstruction scenari..." alt="cv::sfm::BaseSFM" shape="rect" coords="0,0,257,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1df2e2d2588f5947709b394ca1120161"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a1df2e2d2588f5947709b394ca1120161">getCameras</a> (<a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> Rs, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> Ts) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a1df2e2d2588f5947709b394ca1120161"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the estimated camera extrinsic parameters.  <a href="#a1df2e2d2588f5947709b394ca1120161">More...</a><br /></td></tr>
<tr class="separator:a1df2e2d2588f5947709b394ca1120161"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74179beae7272e38305c1950a3dc549d"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a74179beae7272e38305c1950a3dc549d">getError</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a74179beae7272e38305c1950a3dc549d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the computed reprojection error.  <a href="#a74179beae7272e38305c1950a3dc549d">More...</a><br /></td></tr>
<tr class="separator:a74179beae7272e38305c1950a3dc549d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a833dcf547cfd4a35f7d3f1954032d349"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a833dcf547cfd4a35f7d3f1954032d349">getIntrinsics</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a833dcf547cfd4a35f7d3f1954032d349"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the refined camera calibration matrix.  <a href="#a833dcf547cfd4a35f7d3f1954032d349">More...</a><br /></td></tr>
<tr class="separator:a833dcf547cfd4a35f7d3f1954032d349"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1401aa263d425424d331c3483c8e9219"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a1401aa263d425424d331c3483c8e9219">getPoints</a> (<a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> points3d) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a1401aa263d425424d331c3483c8e9219"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the estimated 3d points.  <a href="#a1401aa263d425424d331c3483c8e9219">More...</a><br /></td></tr>
<tr class="separator:a1401aa263d425424d331c3483c8e9219"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04cf041a1fbe19d200670b3cda861b83"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a04cf041a1fbe19d200670b3cda861b83">run</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> points2d) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a04cf041a1fbe19d200670b3cda861b83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls the pipeline in order to perform Eclidean reconstruction.  <a href="#a04cf041a1fbe19d200670b3cda861b83">More...</a><br /></td></tr>
<tr class="separator:a04cf041a1fbe19d200670b3cda861b83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa091d5eb8e36fc8406acd22900a06681"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#aa091d5eb8e36fc8406acd22900a06681">run</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> points2d, <a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a> K, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> Rs, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> Ts, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> points3d) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:aa091d5eb8e36fc8406acd22900a06681"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls the pipeline in order to perform Eclidean reconstruction.  <a href="#aa091d5eb8e36fc8406acd22900a06681">More...</a><br /></td></tr>
<tr class="separator:aa091d5eb8e36fc8406acd22900a06681"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dc08fa4dccd9ed1055c452993a8c1be"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a9dc08fa4dccd9ed1055c452993a8c1be">run</a> (const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;images) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a9dc08fa4dccd9ed1055c452993a8c1be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls the pipeline in order to perform Eclidean reconstruction.  <a href="#a9dc08fa4dccd9ed1055c452993a8c1be">More...</a><br /></td></tr>
<tr class="separator:a9dc08fa4dccd9ed1055c452993a8c1be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90ad868b27133f361a6a326c722500e2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a90ad868b27133f361a6a326c722500e2">run</a> (const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;images, <a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a> K, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> Rs, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> Ts, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> points3d) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a90ad868b27133f361a6a326c722500e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls the pipeline in order to perform Eclidean reconstruction.  <a href="#a90ad868b27133f361a6a326c722500e2">More...</a><br /></td></tr>
<tr class="separator:a90ad868b27133f361a6a326c722500e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54603b3cafcf57ab89effbd4f479c389"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a54603b3cafcf57ab89effbd4f479c389">setCameraIntrinsicOptions</a> (const <a class="el" href="../../d9/d5a/classcv_1_1sfm_1_1libmv__CameraIntrinsicsOptions.html">libmv_CameraIntrinsicsOptions</a> &amp;libmv_camera_intrinsics_options) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a54603b3cafcf57ab89effbd4f479c389"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter method for camera intrinsic options.  <a href="#a54603b3cafcf57ab89effbd4f479c389">More...</a><br /></td></tr>
<tr class="separator:a54603b3cafcf57ab89effbd4f479c389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08cf4ba6ffcfcc78bf1f5b3006154172"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a08cf4ba6ffcfcc78bf1f5b3006154172">setReconstructionOptions</a> (const <a class="el" href="../../d1/d61/classcv_1_1sfm_1_1libmv__ReconstructionOptions.html">libmv_ReconstructionOptions</a> &amp;libmv_reconstruction_options) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="memdesc:a08cf4ba6ffcfcc78bf1f5b3006154172"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter method for reconstruction options.  <a href="#a08cf4ba6ffcfcc78bf1f5b3006154172">More...</a><br /></td></tr>
<tr class="separator:a08cf4ba6ffcfcc78bf1f5b3006154172"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcv_1_1sfm_1_1BaseSFM"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1sfm_1_1BaseSFM')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html">cv::sfm::BaseSFM</a></td></tr>
<tr class="memitem:a6030ca3c4bc9f109ad904c248a9eab3f inherit pub_methods_classcv_1_1sfm_1_1BaseSFM"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#a6030ca3c4bc9f109ad904c248a9eab3f">~BaseSFM</a> ()</td></tr>
<tr class="separator:a6030ca3c4bc9f109ad904c248a9eab3f inherit pub_methods_classcv_1_1sfm_1_1BaseSFM"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a329dd5053cbde7352ab071ad2ccc295e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html">SFMLibmvEuclideanReconstruction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html#a329dd5053cbde7352ab071ad2ccc295e">create</a> (const <a class="el" href="../../d9/d5a/classcv_1_1sfm_1_1libmv__CameraIntrinsicsOptions.html">libmv_CameraIntrinsicsOptions</a> &amp;camera_instrinsic_options=<a class="el" href="../../d9/d5a/classcv_1_1sfm_1_1libmv__CameraIntrinsicsOptions.html">libmv_CameraIntrinsicsOptions</a>(), const <a class="el" href="../../d1/d61/classcv_1_1sfm_1_1libmv__ReconstructionOptions.html">libmv_ReconstructionOptions</a> &amp;reconstruction_options=<a class="el" href="../../d1/d61/classcv_1_1sfm_1_1libmv__ReconstructionOptions.html">libmv_ReconstructionOptions</a>())</td></tr>
<tr class="memdesc:a329dd5053cbde7352ab071ad2ccc295e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an instance of the <a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html" title="SFMLibmvEuclideanReconstruction class provides an interface with the Libmv Structure From Motion pipe...">SFMLibmvEuclideanReconstruction</a> class. Initializes Libmv.  <a href="#a329dd5053cbde7352ab071ad2ccc295e">More...</a><br /></td></tr>
<tr class="separator:a329dd5053cbde7352ab071ad2ccc295e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html" title="SFMLibmvEuclideanReconstruction class provides an interface with the Libmv Structure From Motion pipe...">SFMLibmvEuclideanReconstruction</a> class provides an interface with the Libmv Structure From Motion pipeline. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a329dd5053cbde7352ab071ad2ccc295e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a329dd5053cbde7352ab071ad2ccc295e">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html">SFMLibmvEuclideanReconstruction</a>&gt; cv::sfm::SFMLibmvEuclideanReconstruction::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d9/d5a/classcv_1_1sfm_1_1libmv__CameraIntrinsicsOptions.html">libmv_CameraIntrinsicsOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>camera_instrinsic_options</em> = <code><a class="el" href="../../d9/d5a/classcv_1_1sfm_1_1libmv__CameraIntrinsicsOptions.html">libmv_CameraIntrinsicsOptions</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d1/d61/classcv_1_1sfm_1_1libmv__ReconstructionOptions.html">libmv_ReconstructionOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>reconstruction_options</em> = <code><a class="el" href="../../d1/d61/classcv_1_1sfm_1_1libmv__ReconstructionOptions.html">libmv_ReconstructionOptions</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an instance of the <a class="el" href="../../de/d42/classcv_1_1sfm_1_1SFMLibmvEuclideanReconstruction.html" title="SFMLibmvEuclideanReconstruction class provides an interface with the Libmv Structure From Motion pipe...">SFMLibmvEuclideanReconstruction</a> class. Initializes Libmv. </p>

</div>
</div>
<a id="a1df2e2d2588f5947709b394ca1120161"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1df2e2d2588f5947709b394ca1120161">&#9670;&nbsp;</a></span>getCameras()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::sfm::SFMLibmvEuclideanReconstruction::getCameras </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>Rs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>Ts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the estimated camera extrinsic parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Rs</td><td>Output vector of 3x3 rotations of the camera. </td></tr>
    <tr><td class="paramname">Ts</td><td>Output vector of 3x1 translations of the camera. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#a5b53ce78d8b219284f019552b7bfac41">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="a74179beae7272e38305c1950a3dc549d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74179beae7272e38305c1950a3dc549d">&#9670;&nbsp;</a></span>getError()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual double cv::sfm::SFMLibmvEuclideanReconstruction::getError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the computed reprojection error. </p>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#a1860292d6cf60c6372f3d337ac6063eb">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="a833dcf547cfd4a35f7d3f1954032d349"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a833dcf547cfd4a35f7d3f1954032d349">&#9670;&nbsp;</a></span>getIntrinsics()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> cv::sfm::SFMLibmvEuclideanReconstruction::getIntrinsics </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the refined camera calibration matrix. </p>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#af64374c4c8022eca1936e389a26d0d7c">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="a1401aa263d425424d331c3483c8e9219"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1401aa263d425424d331c3483c8e9219">&#9670;&nbsp;</a></span>getPoints()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::sfm::SFMLibmvEuclideanReconstruction::getPoints </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>points3d</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the estimated 3d points. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">points3d</td><td>Output array with estimated 3d points. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#a4121428962f704c24660413009a798b8">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="a04cf041a1fbe19d200670b3cda861b83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04cf041a1fbe19d200670b3cda861b83">&#9670;&nbsp;</a></span>run() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::sfm::SFMLibmvEuclideanReconstruction::run </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a>&#160;</td>
          <td class="paramname"><em>points2d</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calls the pipeline in order to perform Eclidean reconstruction. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">points2d</td><td>Input vector of vectors of 2d points (the inner vector is per image).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Tracks must be as precise as possible. It does not handle outliers and is very sensible to them. </li>
</ul>
</dd></dl>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#aae7829f9d9d9d9aa31c7e35c8c7ed501">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="aa091d5eb8e36fc8406acd22900a06681"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa091d5eb8e36fc8406acd22900a06681">&#9670;&nbsp;</a></span>run() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::sfm::SFMLibmvEuclideanReconstruction::run </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a>&#160;</td>
          <td class="paramname"><em>points2d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a>&#160;</td>
          <td class="paramname"><em>K</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>Rs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>Ts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>points3d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calls the pipeline in order to perform Eclidean reconstruction. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">points2d</td><td>Input vector of vectors of 2d points (the inner vector is per image). </td></tr>
    <tr><td class="paramname">K</td><td>Input/Output camera matrix \(K = \vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}\). Input parameters used as initial guess. </td></tr>
    <tr><td class="paramname">Rs</td><td>Output vector of 3x3 rotations of the camera. </td></tr>
    <tr><td class="paramname">Ts</td><td>Output vector of 3x1 translations of the camera. </td></tr>
    <tr><td class="paramname">points3d</td><td>Output array with estimated 3d points.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>Tracks must be as precise as possible. It does not handle outliers and is very sensible to them. </li>
</ul>
</dd></dl>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#a4ef14d29bb59545938d59e62001acf73">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="a9dc08fa4dccd9ed1055c452993a8c1be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dc08fa4dccd9ed1055c452993a8c1be">&#9670;&nbsp;</a></span>run() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::sfm::SFMLibmvEuclideanReconstruction::run </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>images</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calls the pipeline in order to perform Eclidean reconstruction. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">images</td><td>a vector of string with the images paths.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>The images must be ordered as they were an image sequence. Additionally, each frame should be as close as posible to the previous and posterior.</li>
<li>For now DAISY features are used in order to compute the 2d points tracks and it only works for 3-4 images. </li>
</ul>
</dd></dl>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#ac51a3a5a28945980de39c01d18c80014">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="a90ad868b27133f361a6a326c722500e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90ad868b27133f361a6a326c722500e2">&#9670;&nbsp;</a></span>run() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::sfm::SFMLibmvEuclideanReconstruction::run </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>images</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a>&#160;</td>
          <td class="paramname"><em>K</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>Rs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>Ts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>&#160;</td>
          <td class="paramname"><em>points3d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calls the pipeline in order to perform Eclidean reconstruction. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">images</td><td>a vector of string with the images paths. </td></tr>
    <tr><td class="paramname">K</td><td>Input/Output camera matrix \(K = \vecthreethree{f_x}{0}{c_x}{0}{f_y}{c_y}{0}{0}{1}\). Input parameters used as initial guess. </td></tr>
    <tr><td class="paramname">Rs</td><td>Output vector of 3x3 rotations of the camera. </td></tr>
    <tr><td class="paramname">Ts</td><td>Output vector of 3x1 translations of the camera. </td></tr>
    <tr><td class="paramname">points3d</td><td>Output array with estimated 3d points.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>The images must be ordered as they were an image sequence. Additionally, each frame should be as close as posible to the previous and posterior.</li>
<li>For now DAISY features are used in order to compute the 2d points tracks and it only works for 3-4 images. </li>
</ul>
</dd></dl>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#aa96e83566228a48f46dcd9308e243f97">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="a54603b3cafcf57ab89effbd4f479c389"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54603b3cafcf57ab89effbd4f479c389">&#9670;&nbsp;</a></span>setCameraIntrinsicOptions()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::sfm::SFMLibmvEuclideanReconstruction::setCameraIntrinsicOptions </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d9/d5a/classcv_1_1sfm_1_1libmv__CameraIntrinsicsOptions.html">libmv_CameraIntrinsicsOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>libmv_camera_intrinsics_options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Setter method for camera intrinsic options. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">libmv_camera_intrinsics_options</td><td>struct with camera intrinsic options such as camera model and the internal camera parameters. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#aed6306f62d1bfc9a82ba8d6a47e911f5">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<a id="a08cf4ba6ffcfcc78bf1f5b3006154172"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08cf4ba6ffcfcc78bf1f5b3006154172">&#9670;&nbsp;</a></span>setReconstructionOptions()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::sfm::SFMLibmvEuclideanReconstruction::setReconstructionOptions </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d1/d61/classcv_1_1sfm_1_1libmv__ReconstructionOptions.html">libmv_ReconstructionOptions</a> &amp;&#160;</td>
          <td class="paramname"><em>libmv_reconstruction_options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Setter method for reconstruction options. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">libmv_reconstruction_options</td><td>struct with reconstruction options such as initial keyframes, automatic keyframe selection, parameters to refine and the verbosity level. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="../../d7/db1/classcv_1_1sfm_1_1BaseSFM.html#a25e8af5b84c3686ba329311e43600ae9">cv::sfm::BaseSFM</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/sfm/<a class="el" href="../../de/d65/simple__pipeline_8hpp.html">simple_pipeline.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
